The IIS default settings are suitable for quickly and easily publishing your Web site content. All you need to do is copy your files to the C:\Inetpub\Wwwroot directory. However, if you have a previously existing site with pages that contain path links to other files on your hard disk, you may find it more convenient to change the default home directory.
To change your home directory
- Open Personal Web Manager and click the Advanced icon on the sidebar.
- In the Advanced Options panel, click the computer icon at the top of the tree, and then click Edit Properties.
- In the Directory box, type in the path and name of the directory you want to set as the home directory.
- Set the directory access permissions by checking Read, Write, or Script Source Access.
- Read Enables Web clients to read or download files stored in a home directory or a virtual directory. If a client sends a request for a file that is in a directory without Read permission, the Web server returns an error message. Generally, you should give directories containing information to publish (HTML files, for example) Read permission. You should disable Read permission for directories containing Common Gateway Interface (CGI) applications and Internet Server Application Program Interface (ISAPI) dynamic link libraries (DLLs) to prevent clients from downloading the application files. By default, all directories created during setup have Read permission.
- Write Enables Web clients to change file content and properties.
- Script Source Access Enables read, write, and directory browsing permissions. This option is available only if either Read or Write is also checked.
- Set the application permissions by checking None, Scripts, or Execute (including scripts).
- None Prevents any script or application from being run in this directory.
- Scripts Enables a script engine to run in this directory without having Execute permission set. Use Script permission for directories that contain ASP scripts, Internet Database Connector (IDC) scripts, or other scripts. Script permission is safer than Execute permission because you can limit the applications that can be run in the directory. If a client sends a request to run a script in a folder that does not have Scripts permission, the Web server returns an error. By default, all directories created during setup have Scripts permission.
- Execute Enables any application to run in this directory, including script engines and Windows 2000 binaries (.dll and .exe files). For security purposes, do not give content folders Execute permission.
Related Topics
- For a more complete description of what a home directory is, see Home Directory in About Publishing Directories.
- For information about scripts, see Active Server Pages.
© 1997-1999 Microsoft Corporation. All rights reserved.